/* 保证背景图片铺满整个屏幕且浮于文字下方 */
.background {
    position: fixed; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover; 
    background-position: center;
    z-index: -1; /* 背景图片的层级设置为最低，确保其他内容在其上 */
}

/* 标题 */
.title_system {
    text-align: center;
    font-size: 80px;
    margin-top: 50px; /* 留一点顶部空间 */
    z-index: 10; /* 确保标题不会被背景遮挡 */
}

/* 登录框 */
.login-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10; /* 确保登录框在其他元素上面 */
}

/* 登录框标题 */
.login-container h2 {
    margin-bottom: 20px;
}

/* 输入框样式 */
.login-container input[type="text"],
.login-container input[type="password"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* 登录按钮 */
.login-container input[type="submit"] {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #2433c1;
    color: white;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

/* 登录按钮 hover 样式 */
.login-container input[type="submit"]:hover {
    background-color: #218838;
}

/* 注册新用户链接 */
.login-container a {
    display: block;
    text-align: center;
    margin-top: 10px; /* 为链接添加一些上边距 */
    width: fit-content;
    margin: 10px auto 0;
    color: #2433c1;
    text-decoration: none;
}

.login-container a:hover {
    text-decoration: underline;
}

/* 密码框和眼睛按钮容器 */
.password-wrapper {
    position: relative;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
}

.toggle-password i {
    font-size: 18px;
}
